package com.niodata.dp.monitor.sharelib.entity.zookeeper;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by ndp on 18-1-18.
 */
public class ZkSummary implements Serializable {

  private String zkVersion;
  private String zkStatus;
  private String leader;
  private int followers = 0;
  private int nodeCount = 0;
  private int watchCount = 0;
  private long numAliveConn = 0;
  private Date createTime;
  private List<ZkNodeInfo> zkNodeInfoList;

  public String getZkVersion() {
    return zkVersion;
  }

  public void setZkVersion(String zkVersion) {
    this.zkVersion = zkVersion;
  }

  public String getZkStatus() {
    return zkStatus;
  }

  public void setZkStatus(String zkStatus) {
    this.zkStatus = zkStatus;
  }

  public String getLeader() {
    return leader;
  }

  public void setLeader(String leader) {
    this.leader = leader;
  }

  public int getFollowers() {
    return followers;
  }

  public void setFollowers(int followers) {
    this.followers = followers;
  }

  public int getNodeCount() {
    return nodeCount;
  }

  public void setNodeCount(int nodeCount) {
    this.nodeCount = nodeCount;
  }

  public int getWatchCount() {
    return watchCount;
  }

  public void setWatchCount(int watchCount) {
    this.watchCount = watchCount;
  }

  public long getNumAliveConn() {
    return numAliveConn;
  }

  public void setNumAliveConn(long numAliveConn) {
    this.numAliveConn = numAliveConn;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public List<ZkNodeInfo> getZkNodeInfoList() {
    return zkNodeInfoList;
  }

  public void setZkNodeInfoList(
        List<ZkNodeInfo> zkNodeInfoList) {
    this.zkNodeInfoList = zkNodeInfoList;
  }
}
